package com.yanggeng.demo.beginnerguidedemo.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.yanggeng.demo.beginnerguidedemo.R;

/**
 * Created by yanggeng on 2017/7/20.
 */

public class TestFragment2 extends Fragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_common, null);
        ((TextView)view.findViewById(R.id.tv_title)).setText("商城");
        return view;
    }
}
